package org.chnxi.study.leetcode.questions25.ques25;

public class ListNode {

     int val;
     ListNode next;
     ListNode(int x) { val = x; }

     @Override
     public String toString() {
          return "ListNode{" +
                  "val=" + val +
                  ", next=" + next +
                  '}';
     }

}
